
<!--created by SBDEAM2004Creator Version0.5-->
<%@ include file="/publics/grid_head.inc"%>
<%@ include file="/publics/grid_datahead.inc"%>

<!--data-->
<div id="gridData" class="gridDiv">
<form action="<%=CONTEXTPATH%>/commonAction.do" method="post" name="frmAction">
<sbdhtc:datagrid id="datagrid" operationType="<%=operationType%>">
<table id="tblgrid" class="gridTbl">
<thead>
<tr>
	<td width="20" class="gridHead">No.</td>
<td <%=isNowrap%> class="gridHead" width=90 id="stock_stocktake_detail.accountbook_code"><a href="#" id="sort_stock_stocktake_detail.accountbook_code" onclick="return f_setSort('stock_stocktake_detail.accountbook_code');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.accountbook_code"/></a></td><td <%=isNowrap%> class="gridHead" width=150 id="stock_stocktake_detail.cost_unit_name"><a href="#" id="sort_stock_stocktake_detail.cost_unit_name" onclick="return f_setSort('stock_stocktake_detail.cost_unit_name');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.cost_unit_name"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_stocktake_detail.material_code"><a href="#" id="sort_stock_stocktake_detail.material_code" onclick="return f_setSort('stock_stocktake_detail.material_code');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_code"/></a></td><td <%=isNowrap%> class="gridHead" width=105 id="stock_stocktake_detail.material_name"><a href="#" id="sort_stock_stocktake_detail.material_name" onclick="return f_setSort('stock_stocktake_detail.material_name');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_name"/></a></td><td <%=isNowrap%> class="gridHead" width=105 id="stock_stocktake_detail.material_style"><a href="#" id="sort_stock_stocktake_detail.material_style" onclick="return f_setSort('stock_stocktake_detail.material_style');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_style"/></a></td><td <%=isNowrap%> class="gridHead" width=90 id="stock_stocktake_detail.material_standard"><a href="#" id="sort_stock_stocktake_detail.material_standard" onclick="return f_setSort('stock_stocktake_detail.material_standard');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_standard"/></a></td><td <%=isNowrap%> class="gridHead" width=90 id="stock_stocktake_detail.material_material"><a href="#" id="sort_stock_stocktake_detail.material_material" onclick="return f_setSort('stock_stocktake_detail.material_material');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_material"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_stocktake_detail.material_weight"><a href="#" id="sort_stock_stocktake_detail.material_weight" onclick="return f_setSort('stock_stocktake_detail.material_weight');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_weight"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_stocktake_detail.material_unit"><a href="#" id="sort_stock_stocktake_detail.material_unit" onclick="return f_setSort('stock_stocktake_detail.material_unit');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_unit"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_stocktake_detail.loca_code"><a href="#" id="sort_stock_stocktake_detail.loca_code" onclick="return f_setSort('stock_stocktake_detail.loca_code');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.loca_code"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_stocktake_detail.stock_price"><a href="#" id="sort_stock_stocktake_detail.stock_price" onclick="return f_setSort('stock_stocktake_detail.stock_price');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.stock_price"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_stocktake_detail.accountbook_qty"><a href="#" id="sort_stock_stocktake_detail.accountbook_qty" onclick="return f_setSort('stock_stocktake_detail.accountbook_qty');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.accountbook_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_stocktake_detail.accountbook_total"><a href="#" id="sort_stock_stocktake_detail.accountbook_total" onclick="return f_setSort('stock_stocktake_detail.accountbook_total');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.accountbook_total"/></a></td><td <%=isNowrap%> class="gridHead" width=80 id="stock_stocktake_detail.stocktake_qty"><a href="#" id="sort_stock_stocktake_detail.stocktake_qty" onclick="return f_setSort('stock_stocktake_detail.stocktake_qty');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.stocktake_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=100 id="stock_stocktake_detail.stocktake_total"><a href="#" id="sort_stock_stocktake_detail.stocktake_total" onclick="return f_setSort('stock_stocktake_detail.stocktake_total');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.stocktake_total"/></a></td><td <%=isNowrap%> class="gridHead" width=105 id="stock_stocktake_detail.profit_loss_qty"><a href="#" id="sort_stock_stocktake_detail.profit_loss_qty" onclick="return f_setSort('stock_stocktake_detail.profit_loss_qty');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.profit_loss_qty"/></a></td><td <%=isNowrap%> class="gridHead" width=105 id="stock_stocktake_detail.profit_loss_total"><a href="#" id="sort_stock_stocktake_detail.profit_loss_total" onclick="return f_setSort('stock_stocktake_detail.profit_loss_total');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.profit_loss_total"/></a></td><td <%=isNowrap%> class="gridHead" width=150 id="stock_stocktake_detail.provider_name"><a href="#" id="sort_stock_stocktake_detail.provider_name" onclick="return f_setSort('stock_stocktake_detail.provider_name');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.provider_name"/></a></td><td <%=isNowrap%> class="gridHead" width=90 id="stock_stocktake_detail.material_attribute"><a href="#" id="sort_stock_stocktake_detail.material_attribute" onclick="return f_setSort('stock_stocktake_detail.material_attribute');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.material_attribute"/></a></td><td <%=isNowrap%> class="gridHead" width=150 id="stock_stocktake_detail.producer_name"><a href="#" id="sort_stock_stocktake_detail.producer_name" onclick="return f_setSort('stock_stocktake_detail.producer_name');" class="sortHref"><eam:message key="column.stock_loss_select.stock_stocktake_detail.producer_name"/></a></td>
</tr>
</thead>
<tbody>
<%String strDdlb = "";String sbddesc="";%>
<eam:iterateResult>
<tr style="display:<%=PageUtilMethod.getValueByMap("visible", rowMap)%>" id="<%=PageUtilMethod.getValueByMap("", rowMap)%>" class="gridData" <%=PageUtilMethod.getValueByMap("rowEvent", rowMap)%>>
	<td align="center" class="gridHead">
	<%=PageUtilMethod.getValueByMap("indexNO", rowMap)%>
	<input type="hidden" value="" name="keyID">
	</td>
<td <%=isNowrap%> align="left" id="stock_stocktake_detail.accountbook_code"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.accountbook_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.cost_unit_name"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.cost_unit_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.material_code"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_code", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.material_name"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.material_style"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_style", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.material_standard"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_standard", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.material_material"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_material", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.material_weight"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_weight", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.material_unit"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_unit", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.loca_code"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.loca_code", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.stock_price"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.stock_price", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.accountbook_qty"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.accountbook_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.accountbook_total"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.accountbook_total", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.stocktake_qty"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.stocktake_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.stocktake_total"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.stocktake_total", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.profit_loss_qty"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.profit_loss_qty", rowMap)%></td><td <%=isNowrap%> align="right" id="stock_stocktake_detail.profit_loss_total"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.profit_loss_total", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.provider_name"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.provider_name", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.material_attribute"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_attribute", rowMap)%></td><td <%=isNowrap%> align="left" id="stock_stocktake_detail.producer_name"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.producer_name", rowMap)%></td>
<td style="display:none" id="stock_stocktake_detail.accountbook_id"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.accountbook_id", rowMap)%></td><td style="display:none" id="stock_stocktake_detail.producer_id"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.producer_id", rowMap)%></td><td style="display:none" id="stock_stocktake_detail.provider_id"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.provider_id", rowMap)%></td><td style="display:none" id="stock_stocktake_detail.stocktake_id"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.stocktake_id", rowMap)%></td><td style="display:none" id="stock_stocktake_detail.material_id"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.material_id", rowMap)%></td><td style="display:none" id="stock_stocktake_detail.cost_unit_id"><%=PageUtilMethod.getValueByMap("stock_stocktake_detail.cost_unit_id", rowMap)%></td>
</tr>
</eam:iterateResult>
</tbody>
<tfoot>
<eam:TotalResult />
<tr id="total" class="gridFoot" style="display:<%=visible%>">
	<td align="center"><eam:message key="grid.text.sum"/><input type="hidden" value="" name="keyID"></td>
<td align="left" id="total_accountbook_code"><%=PageUtilMethod.getValueByMap("total_accountbook_code" ,totalMap)%></td><td align="left" id="total_cost_unit_name"><%=PageUtilMethod.getValueByMap("total_cost_unit_name" ,totalMap)%></td><td align="left" id="total_material_code"><%=PageUtilMethod.getValueByMap("total_material_code" ,totalMap)%></td><td align="left" id="total_material_name"><%=PageUtilMethod.getValueByMap("total_material_name" ,totalMap)%></td><td align="left" id="total_material_style"><%=PageUtilMethod.getValueByMap("total_material_style" ,totalMap)%></td><td align="left" id="total_material_standard"><%=PageUtilMethod.getValueByMap("total_material_standard" ,totalMap)%></td><td align="left" id="total_material_material"><%=PageUtilMethod.getValueByMap("total_material_material" ,totalMap)%></td><td align="right" id="total_material_weight"><%=PageUtilMethod.getValueByMap("total_material_weight" ,totalMap)%></td><td align="left" id="total_material_unit"><%=PageUtilMethod.getValueByMap("total_material_unit" ,totalMap)%></td><td align="left" id="total_loca_code"><%=PageUtilMethod.getValueByMap("total_loca_code" ,totalMap)%></td><td align="right" id="total_stock_price"><%=PageUtilMethod.getValueByMap("total_stock_price" ,totalMap)%></td><td align="right" id="total_accountbook_qty"><%=PageUtilMethod.getValueByMap("total_accountbook_qty" ,totalMap)%></td><td align="right" id="total_accountbook_total"><%=PageUtilMethod.getValueByMap("total_accountbook_total" ,totalMap)%></td><td align="right" id="total_stocktake_qty"><%=PageUtilMethod.getValueByMap("total_stocktake_qty" ,totalMap)%></td><td align="right" id="total_stocktake_total"><%=PageUtilMethod.getValueByMap("total_stocktake_total" ,totalMap)%></td><td align="right" id="total_profit_loss_qty"><%=PageUtilMethod.getValueByMap("total_profit_loss_qty" ,totalMap)%></td><td align="right" id="total_profit_loss_total"><%=PageUtilMethod.getValueByMap("total_profit_loss_total" ,totalMap)%></td><td align="left" id="total_provider_name"><%=PageUtilMethod.getValueByMap("total_provider_name" ,totalMap)%></td><td align="left" id="total_material_attribute"><%=PageUtilMethod.getValueByMap("total_material_attribute" ,totalMap)%></td><td align="left" id="total_producer_name"><%=PageUtilMethod.getValueByMap("total_producer_name" ,totalMap)%></td>
</tr>
</tfoot>
</table>
</sbdhtc:datagrid>
<%@ include file="/publics/grid_formhidden.inc"%>
</form>
</div>
<!--data-->
<%@ include file="/publics/grid_databottom.inc"%>
<%@ include file="/publics/grid_bottom.inc"%>
